* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

.navbar {
    background-color: #043A3A !important;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
}

.form-control {
    border-radius: 102px !important;
    border-color: greenyellow !important;

}

.input-container {
    position: relative;
}

.input-container i {
    position: absolute;
    top: 10%;
    left: 10px;
    background-color: green;
    color: white;
    border-radius: 20px;
    font-size: 20px;
    padding: 8px;
}

.input-container input{
    padding-left: 50px;
    
}

.searchInput{
    background-color: #ffff;
    border: 0;
    font-size: 18px;
    height: 50px;
    width: 50px;
    transition: width 0.3s ease;
    padding: 15px;
}

.searchInput.active{
    width: 200px;
}

.container-fluid{
   
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.green-text {
    color: #4CAF50;
}

.dark-text {
    color: #2d5a2d;
}

.section-description, .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Volunteer Stories Section */
.volunteer-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f5e9 100%);
}

.stories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.main-story {
    grid-row: span 2;
}

.main-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.story-thumbnails {
    display: grid;
    gap: 1rem;
}

.thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.video-placeholder {
    background: #2d5a2d;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(45,90,45,0.3);
}

.play-button svg {
    transition: transform 0.3s ease;
}

.video-placeholder:hover .play-button svg {
    transform: scale(1.1);
}

/* Garden Moments Section */
.garden-moments-section {
    padding: 4rem 0;
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.upload-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.upload-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(76,175,80,0.3);
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.moment-card {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.moment-card:hover {
    transform: translateY(-4px);
}

.moment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moment-card.blank {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.moment-card.blank::after {
    content: '+';
    font-size: 3rem;
    color: #ccc;
    cursor: pointer;
}

/* Resources Section */
.resources-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f5e9 100%);
}

.resources-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.resources-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.resources-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: left;
}

.resources-list {
    margin-bottom: 2rem;
}

.resource-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.checkmark {
    background: #4CAF50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.download-btn {
    background: #2d5a2d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    background: #1a3d1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(45,90,45,0.3);
}

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.download-btn:hover .arrow {
    transform: translateX(4px);
}

/* Mobile Section */
.mobile-section {
    padding: 6rem 0;
    background: white;
    margin-bottom: 30rem;
    text-align: center;

}

.mobile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mobile-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.phone-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 22px;
    padding: 20px;
    overflow: hidden;
}

.app-header h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 4px;
}

.app-header h2 {
    font-size: 1.8rem;
    color: #2d5a2d;
    margin-top: 20px;
}

.app-section {
    margin-top: 20px;
}

.app-section h4 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
}

.connection-grid,
.groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.connection-item,
.group-item {
    text-align: center;
    padding: 8px;
}

.connection-item img,
.group-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 4px;
}

.connection-item span,
.group-item span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.connection-item small,
.group-item small {
    font-size: 0.7rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-story {
        grid-row: span 1;
    }

    .story-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resources-content,
    .mobile-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .moments-grid {
        grid-template-columns: 1fr;
    }
    
    .connection-grid, .groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Footer Styles */
.footer {
    background-color: #2d5a3d;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.newsletter-section h3,
.social-section h3,
.youtube-section h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.newsletter-section p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 250px;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.subscribe-btn {
    background-color: #ff6b35;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #e55a2b;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon svg {
    fill: #2d5a3d;
}

.youtube-section {
    text-align: center;
}

.youtube-embed {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.youtube-placeholder {
    background-color: #f0f0f0;
    aspect-ratio: 16/9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.youtube-placeholder:hover {
    background-color: #e0e0e0;
}

.play-button {
    background-color: #ff0000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button svg {
    fill: white;
    margin-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #4a7a5a;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.designer-credit {
    text-align: right;
}

.designer-link {
    color: white;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: #90EE90;
}


.video-container {
  position: relative;
  width: 100%;
  max-width: 360px; /* typical portrait width */
  aspect-ratio: 9 / 16; /* portrait ratio */
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  background-color: #000;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s;
}

.play-button {
  z-index: 2;
}

.video-container.playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}
